<%@ page import="com.zafu.dao.StoreBean" %><%--
  Created by IntelliJ IDEA.
  User: 86189
  Date: 2024/12/2
  Time: 10:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    int id = 0;
    String idStr = request.getParameter("id");
    if (idStr != null && !idStr.isEmpty()) {
        id = Integer.parseInt(idStr);
    }
    StoreBean bean = new StoreBean();
    int count = bean.DelById(id);
    out.println(count);
    System.out.printf("一共删除%d条记录\n", count);
%>
